/*
编写 : Hexh
时间 : 2012-7-2 17:51:39
*/
using System.Collections.Generic;
using HMIS.FrameWork;
using HMIS.FrameWork.DomainBase;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Facade
{
	/// <summary>
	///	 the interface of IInfraIdcardFacade
	/// </summary>
	public interface IInfraIdcardFacade : IDomainFacade
	{

		InfraIdcard Get(string id);

		InfraIdcard Load(string id);

		InfraIdcard GetByCardUId(string CardUid);

		void SaveOrUpdate(InfraIdcard entity);

		void Delete(string id);

		void PhysicsDelete(string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExistWhere(string fieldName, string fieldValue, string id, string where);

		IList<InfraIdcard> GetAll();

		IList<InfraIdcard> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

	}
}
